package state.util.array;

import java.util.Vector;

public class VectorArray {
  public Vector[] array = null;
  private int size = 0;
  
  public static VectorArray create(int len) {
    Vector[] value1 = new Vector[len];
    return new VectorArray(value1, len);
  }
  
  public static void arraycopy(VectorArray src, int srcPos, VectorArray dest, int destPos, int length1) {
    System.arraycopy(src.array, srcPos, dest.array, destPos, length1);
  }
  
  public VectorArray(Vector[] value1, int length1) {
    array = value1;
    size = length1;
  }
  
  public int len() {
    return size;
  }
  
  public Vector get(int i) {
    return array[i];
  }
  
  public void set(int i, Vector obj) {
    array[i] = obj;
  }
  
  public void setArray(Vector[] value1, int length1) {
    array = value1;
    size = length1;
  }
}
